home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
dev
/
lang
/
uc_0_30.lha
/
u
/
rdocs
/
r0007.doc
< prev
Wrap
Text File
|
1996-10-30
|
2KB
|
110 lines
**********************
* P R O J E C T < U >
*
* Author and copyright
* (c) 1996
* Paul van der Valk
*
* file: r0007.doc
* last updated: 30-oct-96
THE UMGK UTILTY
INTRODUCTION
umgk is a half-experimental, half-productive U-Code backend. It
can execute and/or list a UCDB.
USAGE:
Commandline usage:
umgk [-s] srcfile [-d dstfile] [-?] [-x] [-l] [-c/-o nnn]
[-v[s/c/m] nnn] [/]
Description of arguments:
-s srcfile
Specifies the name of the UCDB sourcefile.
-d dstfile
Specifies the name of the output listing file. Id -d is not
used then stdout will be used.
-x
Enables execute mode. This is set by default if no mode is
specified (-l or -x). This behaviour may change in future versions.
-l
Enables list mode.
-o
-c
-o sets an option. -c clears it. For a listing of options see below.
-v
Sets verbose mode. Currently not yet fully defined.
-?
-? or just "?" shows the command usage.
/
Seperates the umgk arguments from the UCode-application arguments.
LIST OF OPTIONS (-o / -c)
Note: all options are off by default. -c is provided for future purposes.
All options apply to the listing output, unless noted otherwise.
-o1
Disables ';' after expressions. May or may not improve readability
of the listing.
-o2
Use C-style assignments ("="). Default is ":="
-o3
Use C-style equal operator ("=="). Default is "=".
-o4
Use C-style not-equal operator ("!="). Default is "<>".
-o5
Use "BEGIN" and "END" instead of "{" and "}" for codeblocks.
-o6
Force keyword to uppercase. Default is mixed case.
-o7
Force keyword to lowercase. Default is mixed case.
-o8
Ignore sourceformat(0) code. Multiple instructions per line
are converted to one instruction per line.
-o9
Ignore sourceformat(1) code. Blank lines will be ignored.
-o10
Ignore comments.
-o11
Convert after-instruction comment to indented-newline comment.
-o12
Convert indented comment to start-of-line-comment.
-o13
Forces a body ("{...}}, or "BEGIN...END" with -o5) around
single instructions.
-o14
Places the open-body token ("{" ot "BEGIN") right after the
current instruction. Default is indented at next line.